<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">

    <title>Hello World!</title>
    <link rel="stylesheet" href="index.css">
</head>

<body>
    <h1>💖 Hello World!</h1>
    <p>Welcome to your Electron application.</p>
    <div id="show-content"></div>
    <button id="btn-id" onclick="openFile()">点击</button>
</body>
<script>
    let domObj = document.getElementById('show-content');
    domObj.innerHTML = window.App.allenfunc('AAA');

    function openFile() {
        window.App.openDialog((res) => {
            console.log(res);
        })
    }
</script>

</html>